#ifndef OVFUNCSC_H
#define OVFUNCSC_H

#include <QWidget>
#include "ovfuncsc_global.h"
//#include "..\myLib\ovjsrun.h"

//#include "ovregfctrl.h"

#define  ovQPI_LOAD_JAVA                         0x3800
#define  ovQPI_SET_SIGNAL_TARGET                 0x3802
#define  ovQPI_GET_SIGNAL_TARGET                 0x3803
#define  ovQPI_GET_CPP_OBJECT                    0x3805

#define  ovQPI_RUN_JAVA_FUNC                     0x3810
#define  ovQPI_RUN_JAVA_DEBUGGER                 0x3818

#define  ovQPI_GET_JAVA_FUNC_TOTAL_NUM           0x3831
#define  ovQPI_GET_JAVA_FUNC_NAME                0x3833
#define  ovQPI_GET_JAVA_FUNC_STEP_TOTAL_NUM      0x3835
#define  ovQPI_GET_JAVA_FUNC_STEP_VALUE          0x3837
#define  ovQPI_GET_JAVA_FUNC_STEP_NAME           0x3839
#define  ovQPI_GET_JAVA_FUNC_STEP_CUR_POS_VALUE  0x3841

class MainWindow;


typedef struct OVJSCPTIF {
    int cmdID;

    QString     stPara0;
    QString     stPara1;

    int         iPara0;
    int         iPara1;
    int         iPara2;
    int         iPara3;

    double      dPara0;
    double      dPara1;
    double      dPara2;
    double      dPara3;

    int         *piPara0;
    int         *piPara1;

    char        *pcPara0;
    char        *pcPara1;

    QWidget     *pwPara0;
    QWidget     *pwPara1;


}  OVJSCPTIF ,   *LPOVJSCPTIF ;


class OVFUNCSCSHARED_EXPORT OvFuncSC
{

public:
    OvFuncSC();
    ~OvFuncSC();
private:
 //   OVJSRun    *p_OVJSRun;

//    OVRegFCtrl *rf ;
    MainWindow *w ;

public:
    OVJSCPTIF *ovSC_IF(OVJSCPTIF *para);

    void Test();
    void close();
};

#endif // OVFUNCSC_H
